package com.jianbing.north.mapper;

import java.util.List;
import com.jianbing.north.domain.NorthQuesOption;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

/**
 * 题目选项Mapper接口
 * 
 * @author ruoyi
 * @date 2024-06-20
 */
public interface NorthQuesOptionMapper 
{
    /**
     * 查询题目选项
     * 
     * @param id 题目选项主键
     * @return 题目选项
     */
    public NorthQuesOption selectNorthQuesOptionById(Long id);

    /**
     * 查询题目选项列表
     * 
     * @param northQuesOption 题目选项
     * @return 题目选项集合
     */
    public List<NorthQuesOption> selectNorthQuesOptionList(NorthQuesOption northQuesOption);

    /**
     * 新增题目选项
     * 
     * @param northQuesOption 题目选项
     * @return 结果
     */
    public int insertNorthQuesOption(NorthQuesOption northQuesOption);

    /**
     * 修改题目选项
     * 
     * @param northQuesOption 题目选项
     * @return 结果
     */
    public int updateNorthQuesOption(NorthQuesOption northQuesOption);

    /**
     * 删除题目选项
     * 
     * @param id 题目选项主键
     * @return 结果
     */
    public int deleteNorthQuesOptionById(Long id);

    /**
     * 批量删除题目选项
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNorthQuesOptionByIds(Long[] ids);

}
